FROM nginx:1.24-alpine

# 复制构建产物到Nginx默认的站点目录
COPY ./dist /usr/share/nginx/html

# 暴露Nginx默认的HTTP端口
EXPOSE 80

# 启动Nginx
CMD ["nginx", "-g", "daemon off;"]